package com.service.imp;

import com.mapper.JiaoLiuMapper_db;
import com.pojo.JiaoLiu_db;
import com.service.JiaoLiuService_db;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class JiaoLiuServiceImp_db implements JiaoLiuService_db {
    @Autowired
    private JiaoLiuMapper_db jiaoLiuMapperDb;

    @Override
    public List<JiaoLiu_db> list(String stiem, String etime,Integer id) {
        return jiaoLiuMapperDb.list(stiem,etime,id);
    }

    @Override
    public List<JiaoLiu_db> listAll() {
        return jiaoLiuMapperDb.listAll();
    }

    @Override
    public List<JiaoLiu_db> listById(Integer id,Integer order) {
        return jiaoLiuMapperDb.listById(id,order);
    }

    @Override
    public Integer add(JiaoLiu_db jiaoLiuDb) {
        return jiaoLiuMapperDb.add(jiaoLiuDb);
    }

    @Override
    public Integer update(JiaoLiu_db jiaoLiuDb) {
        return jiaoLiuMapperDb.update(jiaoLiuDb);
    }

    @Override
    public Integer del(Integer jId) {
        return jiaoLiuMapperDb.del(jId);
    }
}
